home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmImMbLookupString.z
/
XmImMbLookupString
Wrap
Text File
|
1998-10-30
|
7KB
|
133 lines
XXXXmmmmIIIImmmmMMMMbbbbLLLLooooooookkkkuuuuppppSSSSttttrrrriiiinnnngggg((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmIIIImmmmMMMMbbbbLLLLooooooookkkkuuuuppppSSSSttttrrrriiiinnnngggg((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmIIIImmmmMMMMbbbbLLLLooooooookkkkuuuuppppSSSSttttrrrriiiinnnngggg - An input manager function that
retrieves a composed string from an input method
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/XmIm.h>
iiiinnnntttt XXXXmmmmIIIImmmmMMMMbbbbLLLLooooooookkkkuuuuppppSSSSttttrrrriiiinnnngggg(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
XXXXKKKKeeeeyyyyPPPPrrrreeeesssssssseeeeddddEEEEvvvveeeennnntttt ****eeeevvvveeeennnntttt,
cccchhhhaaaarrrr ****bbbbuuuuffffffffeeeerrrr____rrrreeeettttuuuurrrrnnnn,
iiiinnnntttt bbbbyyyytttteeeessss____bbbbuuuuffffffffeeeerrrr,
KKKKeeeeyyyySSSSyyyymmmm ****kkkkeeeeyyyyssssyyyymmmm____rrrreeeettttuuuurrrrnnnn,
iiiinnnntttt ****ssssttttaaaattttuuuussss____rrrreeeettttuuuurrrrnnnn);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmIIIImmmmMMMMbbbbLLLLooooooookkkkuuuuppppSSSSttttrrrriiiinnnngggg returns a string composed in the locale
associated with the widget's input method and a KeySym that
is currently mapped to the keycode in a KeyPress event. The
KeySym is obtained by using the standard interpretation of
Shift, Lock and Group modifiers as defined in the X Protocol
specification.
An XIM will be created, but an XIC will not be created. One
of the functions, XXXXmmmmIIIImmmmSSSSeeeettttVVVVaaaalllluuuueeeessss, XXXXmmmmIIIImmmmVVVVaaaaSSSSeeeettttVVVVaaaalllluuuueeeessss, or
XXXXmmmmIIIImmmmGGGGeeeettttXXXXIIIICCCC, needs to be called to create an XIC.
_w_i_d_g_e_t Specifies the ID of the widget registered with the
input manager
_e_v_e_n_t Specifies the key press event
_b_u_f_f_e_r__r_e_t_u_r_n
Specifies the buffer in which the string is
returned
_b_y_t_e_s__b_u_f_f_e_r
Specifies the size of the buffer in bytes
_k_e_y_s_y_m__r_e_t_u_r_n
Specifies a pointer to the KeySym returned if one
exists
_s_t_a_t_u_s__r_e_t_u_r_n
Specifies the status values returned by the
function. These status values are the same as
those for the XXXXmmmmbbbbLLLLooooooookkkkuuuuppppSSSSttttrrrriiiinnnngggg function. The
possible status values are:
XXXXBBBBuuuuffffffffeeeerrrrOOOOvvvveeeerrrrfffflllloooowwww
Page 1 (printed 10/24/98)
XXXXmmmmIIIImmmmMMMMbbbbLLLLooooooookkkkuuuuppppSSSSttttrrrriiiinnnngggg((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmIIIImmmmMMMMbbbbLLLLooooooookkkkuuuuppppSSSSttttrrrriiiinnnngggg((((3333XXXX))))
The size of the buffer was insufficient
to handle the returned string. The
contents of _b_u_f_f_e_r__r_e_t_u_r_nand
_k_e_y_s_y_m__r_e_t_u_r_n are not modified. The
required buffer size is returned as a
value of the function. The client should
repeat the call with a larger buffer
size to receive the string.
XXXXLLLLooooooookkkkuuuuppppNNNNoooonnnneeee
No consistent input was composed. The
contents of _b_u_f_f_e_r__r_e_t_u_r_n and
_k_e_y_s_y_m__r_e_t_u_r_n are not modified and the
function returns a value of 0.
XXXXLLLLooooooookkkkuuuuppppCCCChhhhaaaarrrrssss
Some input characters were composed and
returned in _b_u_f_f_e_r__r_e_t_u_r_n. The content
of _k_e_y_s_y_m__r_e_t_u_r_nis not modified. The
function returns the length of the
string in bytes.
XXXXLLLLooooooookkkkuuuuppppKKKKeeeeyyyyssssyyyymmmm
A keysym value was returned instead of a
string. The content of _b_u_f_f_e_r__r_e_t_u_r_n is
not modified and the function returns a
value of 0.
XXXXLLLLooooooookkkkuuuuppppBBBBooootttthhhh
A keysym value and a string were
returned. The keysym value may not
necessarily correspond to the string
returned. The function returns the
length of the string in bytes.
RRRREEEETTTTUUUURRRRNNNN
Return values depend on the status returned by the function.
Refer to the description of status values above.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmIIIImmmmGGGGeeeettttXXXXIIIIMMMM(3), XXXXmmmmIIIImmmmGGGGeeeettttXXXXIIIICCCC(3), XXXXmmmmIIIImmmmRRRReeeeggggiiiisssstttteeeerrrr(3),
XXXXmmmmIIIImmmmSSSSeeeettttVVVVaaaalllluuuueeeessss(3), and XXXXmmmmIIIImmmmUUUUnnnnrrrreeeeggggiiiisssstttteeeerrrr(3).
Page 2 (printed 10/24/98)